package com.indigon.parkStory.model.objects
{
	import com.indigon.parkStory.model.ModelMain;
	
	import flash.geom.Point;

	public class ObjectModel
	{
		protected var _model : ModelMain;
		
		public var isDead : Boolean;
		
		public var pos    : Point;
		public var angVel : Number;
		
		public function ObjectModel(model:ModelMain)
		{
			this._model = model;
			this.pos    = new Point();
			this.angVel = 0.0;
		}
		
		public function set(x:Number, y:Number):void
		{
			this.pos.x = x;
			this.pos.y = y;
		}
		
		public function uninit():void
		{
			_model = null;
			pos    = null;
		}
		
		public function update():void
		{
		}
	}
}